Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ember-cli-string-utils

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-cli-string-utils

string utils extracted for other addons and blueprints

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
3
Created

What is ember-cli-string-utils?

The ember-cli-string-utils package provides a set of utility functions for manipulating and transforming strings, particularly useful in the context of Ember CLI projects.

What are ember-cli-string-utils's main functionalities?

dasherize

Converts a camelCase or snake_case string into a dash-separated string.

const stringUtils = require('ember-cli-string-utils');
console.log(stringUtils.dasherize('myString')); // 'my-string'

camelize

Converts a dash-separated or snake_case string into a camelCase string.

const stringUtils = require('ember-cli-string-utils');
console.log(stringUtils.camelize('my-string')); // 'myString'

classify

Converts a dash-separated or snake_case string into a class name (PascalCase).

const stringUtils = require('ember-cli-string-utils');
console.log(stringUtils.classify('my-string')); // 'MyString'

underscore

Converts a camelCase or dash-separated string into a snake_case string.

const stringUtils = require('ember-cli-string-utils');
console.log(stringUtils.underscore('myString')); // 'my_string'

Other packages similar to ember-cli-string-utils

FAQs

Package last updated on 23 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc